package org.example.MQ.Controller;

import org.example.MQ.Service.ConfigService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 * @Author : zhangbo
 * @data : 2024/4/13
 * @description :
 */
@RestController
@RequestMapping("/config")
public class TestController {
    @Resource
    private ConfigService configService;
    @PostMapping("/test1")
    public void test1(@RequestBody String name){
        configService.queryMqConfig(name) ;
    }
}
